﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Torch_IServices
{
    /// <summary>
    /// 图书申请表图书信息
    /// </summary>
    public interface IBookApplyBookInfoService
    {
        Task<int> AddBookApplyBookInfoAsync(string title,string info,string publishingHouse,string photo,decimal price,int buyNumber,int state,int cateGory);
        Task<int> EditBookApplyBookInfoAsync(int id, string title, string info, string publishingHouse, string photo, decimal price, int buyNumber, int state, int cateGory);
        Task<int> DeleteBookApplyBookInfoAsync(int id);
        Task<List<BookApplyBookInfoDto>> QueryBookApplyBookInfoAllAsync();
        Task<BookApplyBookInfoDto> QueryBookApplyBookInfoByIdAsync(int id);
        Task<List<BookApplyBookInfoDto>> QueryBookApplyBookInfoByNameAsync(string title);
    }
}
